package com.adpython.service.impl;

import com.adpython.dao.UsersDao;
import com.adpython.domain.Users;
import com.adpython.service.UsersService;

public class UsersServiceImpl implements UsersService {
	
	private UsersDao usersDao;
	
	public Users queryByMail(String mail){
		return usersDao.queryByMail(mail);
	}
	
	public void setUsersDao(UsersDao usersDao){
		this.usersDao=usersDao;
	}
	public UsersDao getUsersDao(){
		return this.usersDao;
	}
	
}
